home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group01b.txt / 000160_icon-group-sender_Mon Oct 29 13:50:32 2001.msg < prev    next >
Internet Message Format  |  2002-01-03  |  1KB

  1. Return-Path: <icon-group-sender>
  2. Received: (from root@localhost)
  3.     by baskerville.CS.Arizona.EDU (8.11.1/8.11.1) id f9TKm8o25219
  4.     for icon-group-addresses; Mon, 29 Oct 2001 13:48:08 -0700 (MST)
  5. Message-Id: <200110292048.f9TKm8o25219@baskerville.CS.Arizona.EDU>
  6. From: icon@steve.iit.edu (Michael Glass)
  7. X-Newsgroups: comp.lang.icon
  8. Subject: How does one discover which window has the focus?
  9. Date: 29 Oct 2001 10:53:31 -0800
  10. X-Complaints-To: groups-abuse@google.com
  11. To: icon-group@cs.arizona.edu
  12. Errors-To: icon-group-errors@cs.arizona.edu
  13. Status: RO
  14. Content-Length: 498
  15.  
  16. In the Icon graphics facility is there any way to discover which
  17. window has the focus?
  18.  
  19. I needed to write my own version of Notice(), the routine that pops
  20. up information and error messages as a modal dialog.
  21.  
  22. I would like it to pop up in the current window, not just anywhere
  23. on the screen where the user might miss it. (Even better: once you
  24. have the current window, you can obtain the current cursor coordinates
  25. and have it pop up right by the pointer.)
  26.  
  27. -- Michael Glass
  28.    icon@steve.iit.edu
  29.